package com.zh.rent.service;

import com.github.pagehelper.PageInfo;
import com.zh.rent.pojo.MailContent;

import java.util.List;
import java.util.Map;

public interface MailContentService {

    //根据时间倒序查询
    PageInfo<MailContent> mailconAll(Integer pageNum, Integer pageSeiz, Map<String,Object> map);
    //添加
    int updateMail(List<MailContent> mailContent);
    //删除
    int delMail();
}
